@layout('/layout/main.html', {title:'留言', bodyCls:'lay-blog'}) {
@include("/layout/header.html", {active:'留言'}) {}
	<div class="container-wrap">
		<div class="container container-message">
			<div class="contar-wrap" id="contar-wrap">
				<form class="layui-form" action="">
					<div class="layui-form-item layui-form-text">
						  <textarea  class="layui-textarea" id="LAY-msg-content" style="resize:none"></textarea>
					</div>
				</form>
				<div class="item-btn">
					<button class="layui-btn layui-btn-normal" id="item-btn">提交</button>
				</div>
				
				<div id="LAY-msg-box">
					<div class="info-box">
						<div class="info-item">
							<img class="info-img" src="static/images/info-img.png" alt="">
							<div class="info-text">
								<p class="title count">
									<span class="name">一片空白</span>
									<span class="info-img like"><i class="layui-icon layui-icon-praise"></i>5.8万</span>
								</p>
								<p class="info-intr">父爱如山，不善表达。回想十多年前，总记得父亲有个宽厚的肩膀，小小的自己跨坐在上面，越过人山人海去看更广阔的天空，那个时候期望自己有一双翅膀，能够像鸟儿一样飞得高，看得远。虽然父亲有时会和自己开玩笑，但在做错事的时候会受到严厉的训斥。父亲有双粗糙的大手掌。</p>
							</div>
						</div>
					</div>
				</div>

				<div id="test1" class="paging"></div>
			</div>
		</div>
	</div>
	<div class="footer">
		<p>
			<span>&copy; 2018</span>
			<span><a href="http://www.layui.com" target="_blank">layui.com</a></span> 
			<span>MIT license</span>
		</p>
		<p><span>人生就是一场修行</span></p>
	</div>
</div>
	
	<script>		
		layui.use('blog');
	</script>

	<script id="LAY-msg-tpl" type="text/html">
		<div class="info-box">
			<div class="info-item">
				<img class="info-img" src="{{ d.avatar }}" alt="">
			  <div class="info-text">
					<p class="title">
					  <span class="name">{{ d.username }}</span>
					  <span class="info-img">
					  	<i class="layui-icon layui-icon-praise"></i>
					  	{{ d.praise }}
					 	</span>
					</p>
					<p class="info-intr">
						{{ d.content }}
					</p>
			  </div>
			</div>
		</div>
	</script>
@}
